FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER yihe
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /home/jzadmin
WORKDIR /home/jzadmin
RUN mkdir -p /home/jzadmin/uploadPath
ENV SERVER_PORT=80

ENV XMS=1024m
ENV XMX=3550m
EXPOSE 8080
EXPOSE 80
CMD ["java", "-jar", "/home/jzadmin/smjzadmin.jar"]

